<? 
require_once ('../../models/Cart.php'); 
require_once ('../../models/Accounts.php');
require_once ('../../models/Users.php');
require_once ('../../inc/functions.php'); 

RequireLogin();
?>
<? //session_start(); ?>
<! View -->
<!DOCTYPE html>
<html lang="en">
	<?php include('../../inc/head.php'); ?>
	<body>
		<div>
			<?php include('../../inc/nav.php'); ?>
		</div>
		
		<div id="shoppingcart">
			<h1>Your Shopping Cart</h1>
			<?php
			echo writeShoppingCart();
			?>
		</div>

		<div id="contents">
			<h1>Please check quantities...</h1>
			
			<?php
			echo showCart();
			?>
		</div>
		
		<div id="content">
			<a href="checkout.php">Continue to checkout</a>
		</div>
		
		<div id="content">
			<?php include('../../inc/footer.php'); ?>
		</div>

	</body>
</html>